package com.zfc.life.utils;

import java.time.LocalDate;
import java.util.UUID;

/**
 * @author zfc
 * @Date 2024/6/3 8:59
 * @Description StringUtils
 */
public class StringUtils {

    /**
     * 获取年月多层文件夹
     * @return 2024/3/
     */
    public static String yearAndMonthFolder(){
        //获取年月
        LocalDate currentDate = LocalDate.now();
        return currentDate.getYear() + "/" + currentDate.getMonthValue() + "/";
    }


}
